package com.inplaceedit.shared.webservice;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.inplaceedit.shared.dto.ContactDto;
import com.inplaceedit.shared.dto.NoteDto;

public interface ContactRemoteServiceAsync {
	void deleteNote(NoteDto object, AsyncCallback<NoteDto> callback);

	void get(String id, AsyncCallback<ContactDto> callback);

	void list(AsyncCallback<List<ContactDto>> callback);

	void listNotes(String contactId, AsyncCallback<List<NoteDto>> callback);

	void save(ContactDto object, AsyncCallback<ContactDto> callback);

	void saveNote(NoteDto object, AsyncCallback<NoteDto> callback);
}
